package com.sptpc.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.sptpc.pojo.Cart;

public interface CartMapper {

	int addCart(@Param("title") String title,@Param("buyNum") String buyNum,@Param("uid") int uid);

	List<Cart> getCartByUid(@Param("uid") int uid,@Param("start") int start,@Param("pageSize") int pageSize);

	void deleteCar(int cid);

	int cartCountByUid(int uid);

}
